package com.bjtu.lms.dao;

import com.bjtu.lms.model.BorrowHistory;
import java.util.List;

/**
 *
 * @author yilee
 */
public interface BorrowHistoryDao {

	public void insert(BorrowHistory borrowHistory);

	public void modify(BorrowHistory borrowHistory);

	public void delete(BorrowHistory borrowHistory);

	public List<BorrowHistory> getBorrowHistoryList();

	public BorrowHistory getBorrowHistoryById(int id);

	public List<BorrowHistory> getBorrowHistoryByBookId(int bookId);

	public List<BorrowHistory> getBorrowHistoryListByUserId(int userId);
}
